package com.edais.persistence;

import java.util.Map;

import com.edais.domain.ClickCount;
import com.edais.domain.ClickManyGrab;

public interface ClickCountMapper {

	/**
	 * 根据参数查询功能点是否参与统计
	 * @param paramsMap
	 * @return 
	 */
	public ClickCount getFuncByFuncId(Map<String, String> paramsMap);

	/**
	 * 统计用户点击率
	 * @param clickManyGrab
	 * @return 
	 */
	public void insertClickManyGrab(ClickManyGrab clickManyGrab);

	/**
	 * 更新用户点击率
	 * @param insertMap
	 * @return 
	 */
	public long uptClickManyGrab(ClickManyGrab clickManyGrab);

	/**
	 * 查询用户点击率
	 * @param insertMap
	 * @return 
	 */
	public ClickManyGrab selClickManyGrab(ClickManyGrab clickManyGrab);

}